DSTU2 QA Preview

This page is part of the FHIR Specification (v1.0.0: DSTU 2 Ballot 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

B.5.1 StructureDefinition: SDC-Response

The official URL for this profile is:

http://hl7.org/fhir/StructureDefinition/sdc-response

Defines how the questionnaire response resource is used to reflect form data within the ONC's Structured Data Capture standard.

This profile was published on Mon, Apr 21, 2014 00:00+1000 as a draft by Health Level Seven International (Orders and Observations - Structured Data Capture).

B.5.1.1 Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

This structure is derived from QuestionnaireResponse.

Summary

Mandatory: 6 elements (+2 nested mandatory elements)
Must-Support: 16 elements

Structures

This structure refers to these other structures:

NameFlagsCard.TypeDescription & Constraintsdoco
.. QuestionnaireResponse 0..*QuestionnaireResponseA structured set of questions and their answers
... meta 0..1MetaMetadata about the resource
... implicitRules ?! 0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: IETF BCP-47 (required)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier S 0..1IdentifierUnique id for this set of answers
... questionnaire S 1..1Reference(Structured Data Capture Questionnaire Design)Form being answered
... status ?! S1..1codein-progress | completed | amended
Binding: QuestionnaireResponseStatus (required)
... subject S 1..1Reference(Patient)The subject of the questions
... author S 0..1Reference(Practitioner | Patient | RelatedPerson)Person who received and recorded the answers
... authored S 1..1dateTimeDate this version was authored
... source 0..1Reference(Patient | Practitioner | RelatedPerson)The person who answered the questions
... encounter 0..1Reference(Encounter)Primary encounter during which the answers were collected
... group S I1..1BackboneElementGrouped questions
qrs-1: Groups may either contain questions or groups but not both
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
.... linkId S1..1stringCorresponding group within Questionnaire
.... title S0..1stringName for this group
.... text S0..1stringAdditional text for the group
.... subject 0..1Reference(Resource)The subject this group's answers are about
.... group S I0..*Nested questionnaire response group
.... question S I0..*BackboneElementQuestions in this group
..... extension 0..*ExtensionAdditional Content defined by implementations
..... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
..... linkId S1..1stringCorresponding question within Questionnaire
..... text S1..1stringText of the question as it is shown to the user
..... answer S0..*BackboneElementThe response(s) to the question
...... extension 0..*ExtensionAdditional Content defined by implementations
...... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
...... value[x] S0..1boolean, date, dateTime, time, instant, decimal, integer, string, Coding, uri, Quantity, Attachment, Reference(Resource)Single-valued answer to the question
...... group 0..*Nested questionnaire group

doco Documentation for this format

todo

This structure is derived from QuestionnaireResponse.

Summary

Mandatory: 6 elements (+2 nested mandatory elements)
Must-Support: 16 elements

Structures

This structure refers to these other structures:

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. QuestionnaireResponse 0..*QuestionnaireResponseA structured set of questions and their answers
... meta 0..1MetaMetadata about the resource
... implicitRules ?! 0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: IETF BCP-47 (required)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier S 0..1IdentifierUnique id for this set of answers
... questionnaire S 1..1Reference(Structured Data Capture Questionnaire Design)Form being answered
... status ?! S1..1codein-progress | completed | amended
Binding: QuestionnaireResponseStatus (required)
... subject S 1..1Reference(Patient)The subject of the questions
... author S 0..1Reference(Practitioner | Patient | RelatedPerson)Person who received and recorded the answers
... authored S 1..1dateTimeDate this version was authored
... source 0..1Reference(Patient | Practitioner | RelatedPerson)The person who answered the questions
... encounter 0..1Reference(Encounter)Primary encounter during which the answers were collected
... group S I1..1BackboneElementGrouped questions
qrs-1: Groups may either contain questions or groups but not both
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
.... linkId S1..1stringCorresponding group within Questionnaire
.... title S0..1stringName for this group
.... text S0..1stringAdditional text for the group
.... subject 0..1Reference(Resource)The subject this group's answers are about
.... group S I0..*Nested questionnaire response group
.... question S I0..*BackboneElementQuestions in this group
..... extension 0..*ExtensionAdditional Content defined by implementations
..... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
..... linkId S1..1stringCorresponding question within Questionnaire
..... text S1..1stringText of the question as it is shown to the user
..... answer S0..*BackboneElementThe response(s) to the question
...... extension 0..*ExtensionAdditional Content defined by implementations
...... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
...... value[x] S0..1boolean, date, dateTime, time, instant, decimal, integer, string, Coding, uri, Quantity, Attachment, Reference(Resource)Single-valued answer to the question
...... group 0..*Nested questionnaire group

doco Documentation for this format

XML Template

JSON Template

todo

 

Other representations of profile: Schematron

B.5.1.2 Terminology Bindings

PathNameConformanceValueSet
QuestionnaireResponse.language?extrequiredhttp://tools.ietf.org/html/bcp47
QuestionnaireResponse.statusQuestionnaireResponseStatusrequiredQuestionnaireResponseStatus

B.5.1.3 Constraints

IdPathDetailsRequirements
qrs-1QuestionnaireResponse.groupGroups may either contain questions or groups but not both
XPath: not(exists(f:group) and exists(f:question))
.